package de.koller.million.grid.commands;

import de.koller.million.grid.GNode;
import de.koller.aframe.util.thread.ICommand;

public class RemoveGNode implements ICommand {
	
	private final GNode toRemove;

	public RemoveGNode( GNode toRemove ) {
		this.toRemove = toRemove;
	}

	@Override
	public void handle( Object... params ) {
		toRemove.removeMe();
	}
	
}
